Class to calculate the Max distance
Function to calculate the Max distance between vectors A real variable with the distance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(max_distance) | :: | distance | 
                 A   | 
        |||
| real(kind=wp), | intent(inout), | dimension(:,:) | :: | vector1 | 
                 A real vector  | 
        |
| real(kind=wp), | intent(inout), | dimension(:,:) | :: | vector2 | 
                 A real vector  | 
        
A real vector
type,extends(distance_base) :: max_distance !! Class to calculate the Max distance contains procedure,public :: calculate => calculate_max_distance end type max_distance